import request from '@/relyon/request'

// 获取歌单列表
export function songSheetList(params){
    return request({
        url : '/sheet/list',
        method : 'GET',
    })
}

// 添加歌单
export function addSongSheet(params){
    return request({
        url : '/sheet/emit',
        method : 'post',
        data:params,
    })
}

// 删除歌单
export function delSongSheet(params){
    return request({
        url : '/sheet/delete',
        method : 'DELETE',
        data:params,
    })
}

export default {
    songSheetList,
    addSongSheet,
    delSongSheet,
}